package com.coffee.log.dispose;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

/**
 *
 * 
 *
 * @author songkui
 * @since 2025-04-27
 */
@Data
@EqualsAndHashCode(of ={"id"})
@Accessors(chain = true)
@TableName("log_operation")
public class OperationEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    private String name;

    private String description;

    private String params;

    private String status;

    private String errorMsg;

    private Long costTime;

    private Long userId;

    private String userCode;

    private LocalDateTime createTime;


}
